/*
 *	File: StringHelper.h
 *	Version: 1.0
 *	Desc:
 *	History:
 *	1. 2011-09-12, Created, zwx
 *	*/

#include "../Include/includes.h"
#ifndef STRINGHELPER_H_
#define STRINGHELPER_H_

using namespace std;

class StringHelper {
public:
	StringHelper();
	virtual ~StringHelper();
	int normalize(char* token);
	void remove_non_alpha_num_left_right(char* token);
	void to_lowercase(char* token);
	void itos(int num, char* s_num);
	size_t extract_number(char* line, size_t s,size_t& num);
};

#endif /* STRINGHELPER_H_ */
